package com.mygame.common.dbEntity;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import com.baidu.bjf.remoting.protobuf.annotation.ProtobufClass;
import com.mygame.common.protobuf.ProtoFileMerge;
/**
 * @description activity_v2
 * @author chenyuejiu
 * @date 2023-07-20
 */
 @ProtobufClass
 @ProtoFileMerge(fileName = "db.proto", filePackage = "db.mysql")
public class ActivityV2Model implements Serializable {

    private static final long serialVersionUID = 1L;
    public int change = 0; //1更新 2删除

    /**
    * id
    */
    Integer id;

    /**
    * data
    */
    String data;


    /**删除*/
    public void delete() {
        change = 2;
    }


    public ActivityV2Model() {
    }


    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
        change = 1;
    }

    public String getData() {
        return data;
    }
    public void setData(String data) {
        this.data = data;
        change = 1;
    }
}
